package com.lvchenglong.task;

import com.lvchenglong.model.User;

public class TaskWait implements Runnable{
    private User user = new User();

    @Override
    public void run() {
        while(true) {
            System.out.println("TaskWait: " + Thread.currentThread().getName());
            try {
                Thread.sleep(5000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
